package tests;

import java.io.IOException;

import benchmarks.JSONIOLib;
import benchmarks.TestClasses;
import benchmarks.TestMethods;
import edu.vub.at.exceptions.InterpreterException;

public class JSONIOLibTest extends Tests{

	protected void setUp() throws InterpreterException, IOException{
		new TestClasses();
		currentLib = (TestMethods) new JSONIOLib();
	}
	
	public void testSize() throws IOException{		
		CaliperTests.dataset.addValue(currentLib.serialize(TestClasses.boeTXT).length, "Serialized NATText", currentLib.getClass().getName().substring(11));
		System.out.println(currentLib.serialize(TestClasses.boeTXT).length);
	}
	
}
